package com.lzw.breadknife.sample.ui;

import com.lzw.breadknife.BindLayout;
import com.lzw.breadknife.sample.R;
import com.lzw.breadknife.sample.mvvm.LoginActivity;

/**
 * author  : AWeiLoveAndroid
 * e-mail  : lzw460433675@163.com
 * github  : https://gitee.com/AWeiLoveAndroid/BreadKnife
 * project : BreadKnife
 */
@BindLayout(value = R.layout.activity_demo, rootPackage = "com.lzw.breadknife.sample")
public class DemoActivity extends BaseActivity<DemoActivityUnbinder> {

    @Override
    protected int attachTitleRes() {
        return R.string.title_demo;
    }

    public void onRecyclerViewClick() {
        startActivity(RecyclerViewActivity.class);
    }

    public void onNormalClick() {
        startActivity(NormalActivity.class);
    }

    public void onMultipleClick() {

        startActivity(MultipleActivity.class);
    }

    public void onMVVMClick() {
        startActivity(LoginActivity.class);
    }

    public void onLiveDataClick() {
        startActivity(LiveDataActivity.class);
    }
}
